<?php


namespace App\Modules\Admin\Http\Controllers\Seller;

use App\Modules\Admin\Http\Controllers\BaseController;
use App\Modules\Admin\Http\Requests\Seller\SellerRequest;
use App\Modules\Admin\Http\Requests\Seller\SellerRoleRequest;
use App\Modules\Admin\Services\Seller\SellerRoleServices;

/** 商家管理-商家角色
 * Class SellerController
 * @package App\Modules\Admin\Http\Controllers\Seller
 */
class SellerRoleController extends BaseController
{
    public function __construct(SellerRoleServices $sellerRoleService)
    {
        $this->service = $sellerRoleService;
    }

    public function create(SellerRoleRequest $request)
    {
        return $this->createService($request);
    }

    public function update(SellerRoleRequest $request)
    {
        return $this->updateService($request);
    }

}